//
//  ShangPinFenLeiAddNameTableViewCell.m
//  ErJie
//
//  Created by yaorenjin on 2017/1/31.
//  Copyright © 2017年 yaorenjin. All rights reserved.
//

#import "ShangPinFenLeiAddNameTableViewCell.h"
@implementation ShangPinFenLeiAddNameTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.textField.delegate = self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)reloadData:(id)model
{
    self.flEntity = model;
}

-(void)textFieldDidEndEditing:(UITextField *)textField
{
    self.flEntity.name = textField.text;
}

@end
